package 第三章作业.O331;

import java.util.Scanner;
public class Test3 {
    public static void main(String[] args){
        Scanner reader = new Scanner(System.in);
        System.out.print("请输入正方形的边长：");
        int length = reader.nextInt();
        for (int i = 1;i <= length;i++){
            for (int j = 1;j <= length; j++){
                System.out.print(" * ");
            }
            System.out.println(" ");
        }
    }
}
